﻿@section style {
<link rel="stylesheet" type="text/css" href="@Html.GetRes("/cui/admin/admin.login.min.css")" />
}
<div class="htmleaf-container">
    <div class="login-wrapper">
        <div class="login-container">
            <h1 id="login_title">管理员登录</h1>
            <form action="" id="admin_login_form" class="form" onsubmit="return login.check();">
                @*@Html.AntiForgeryToken()*@
                <input type="text" placeholder="用户名" id="username">
                <input type="password" placeholder="密码" id="password">
                @*<div class="clearfix">
                    <div class="col-xs-8 no-padding">
                        <input type="text" placeholder="验证码" id="code">
                    </div>
                    <div class="col-xs-4 no-padding text-right">
                        <img id="imgVerify" src="/captcha" alt="看不清？点击更换" title="看不清？点击更换" onclick="this.src = this.src + '?'" />
                    </div>
                </div>*@
                <div id="login_tips"></div>
                <button type="submit" id="btnLogin">登 陆</button>
            </form>
        </div>
        <ul class="bg-bubbles">
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>

</div>
@section script{
<script type="text/javascript" src="@Html.GetRes("/cui/admin/admin.login.min.js")"></script>
<script>
    var login = new Login('@ViewData["AdminRoutefix"]');
    $(function () {
        $('#username,#password').keyup(function () {
            login.hideError();
        })
    });
</script>
}